package com.unidt.www.module.third.enterprise.vo.notice;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.unidt.www.module.third.enterprise.vo.EnterpriseBaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@ApiModel("管理后台 - 企业码用户信息 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
public class EnterpriseNoticeCreatReqVO extends EnterpriseBaseVO {

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty("开始时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("状态")
    private Long status;

    @ApiModelProperty("分类：1、企业。2、用户。")
    private Long type;

    @ApiModelProperty("流程定义id")
    private String processDefinitionId;


    @ApiModelProperty("表单")
    private String formKey;

    @ApiModelProperty("浏览次数")
    private Long count;
}
